type alias {{classname}} =
    {{parent}}


decoder : Decoder {{classname}}
decoder =
    Decode.list {{vendorExtensions.x-elm-decoder}}


encode : {{classname}} -> Encode.Value
encode items =
    Encode.list {{#isElm018}}(List.map {{/isElm018}}{{vendorExtensions.x-elm-encoder}} items{{#isElm018}}){{/isElm018}}


toString : {{classname}} -> String
toString =
    Encode.encode 0 << encode
